package cn.tedu.mall.book.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDate;

@Data
public class UserAddNewDTO implements Serializable {
    @NotNull(message = "用户名不能为null")
    private String username;
    private String password;
    private String nickname;
    private String gender;
    private LocalDate birthday;
    private String avatar;
    private String phone;
    private String email;
    private String address;
}
